﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
 

namespace Framework.EventBus
{
    public class OrderAddedEventHandlerSms : IEventHandler<OrderAddedEvent>
    {
        public void Handle(OrderAddedEvent eventData)
        {
            Console.WriteLine(string.Format("短信:订单{0}金额{1}", eventData.Order.OrderId, eventData.Order.OrderAmount));
        }
    }
}
